package com.zqq.message.injection.component

import com.zqq.baselibrary.injection.PerComponentScope
import com.zqq.baselibrary.injection.component.ActivityComponent
import com.zqq.message.injection.module.MessageModule
import com.zqq.message.ui.fragment.MessageFragment
import dagger.Component

/**
 * 消息模块注入组件
 * (因为**Com依赖一个有作用域的ActivityCom所以其也要有作用域)
 * @author zqq on 2018/8/6
 */
@PerComponentScope
@Component(dependencies = arrayOf(ActivityComponent::class),
        modules = arrayOf(MessageModule::class))
interface MessageComponent {

    fun inject(fragment: MessageFragment)


}